<!doctype html>
<html>
  <head>
    <title>PawHash Options</title>
    <link rel='stylesheet' href='common.css'>
  </head>
  <body>
    <form>
      <fieldset>
        <legend>Default password requirements</legend>
        <label><input type='checkbox' name='digits' id='digits'> At least one digit</label>
        <label><input type='checkbox' name='punctuation' id='punctuation'> At least one punctuation character</label>
        <label><input type='checkbox' name='mixedcase' id='mixedcase'> Both upper and lower-case letters</label>
      </fieldset>
      <fieldset>
        <legend>Default password restrictions</legend>
        <label><input type='checkbox' name='nospecial' id='nospecial'> No special characters</label>
        <label><input type='checkbox' name='digitsonly' id='digitsonly'> Digits only</label>
      </fieldset>
      <fieldset>
        <legend>Default password length</legend>
        <select name='length' id='length'>
          <option>4</option>
          <option>6</option>
          <option>8</option>
          <option>10</option>
          <option>12</option>
          <option>14</option>
          <option>16</option>
          <option>18</option>
          <option>20</option>
          <option>22</option>
          <option>24</option>
          <option>26</option>
        </select>
      </fieldset>
      <fieldset>
        <legend>Site tag guessing</legend>
        <label><input type='radio' name='guesstag' value='no'> Do not guess site tag</label>
        <label><input type='radio' name='guesstag' value='name'> Guessed tag is site name (e.g. "google")</label>
        <label><input type='radio' name='guesstag' value='domain'> Guessed tag is site name and top-level domain (e.g. "google.com")</label>
        <label><input type='radio' name='guesstag' value='full'> Guessed tag is whole hostname (e.g. "www.google.com")</label>
      </fieldset>
      <fieldset>
        <legend>Site-specific options</legend>
        <label><input type='radio' name='storesite' value='never'> Do not store site-specific options</label>
        <label><input type='radio' name='storesite' value='changed'> Only store site-specific options if they are different to the defaults</label>
        <label><input type='radio' name='storesite' value='all'> Store options for all sites even if they are the same as the defaults (this effectively logs the sites you use the extension on)</label>
      </fieldset>
      <fieldset>
        <legend>Master password storage options</legend>
        <label><input type='radio' name='storepass' value='never'> Do not store the master password</label>
        <label><input type='radio' name='storepass' value='forever'> Store the master password locally forever (not synced) (CAUTION: NOT ENCRYPTED)</label>
      </fieldset>
      <fieldset>
        <legend>Display options</legend>
        <label><input type='checkbox' name='displayhash' id='displayhash'> Display generated hash</label>
        <label><input type='checkbox' name='displaytag' id='displaytag'> Display site tag</label>
      </fieldset>
    </form>
    <script src='common.js'></script>
    <script src='options.js'></script>
  </body>
</html>
